package com.sds.sweng.swat.miplatform.ui.design.policies;

import org.eclipse.gef.EditPart;
import org.eclipse.gef.EditPolicy;
import org.eclipse.gef.commands.Command;
import org.eclipse.gef.requests.CreateRequest;

import com.sds.sweng.swat.miplatform.ui.design.utils.EditPolicyUtils;


public class TabFlowLayoutEditPolicy extends DesignFlowLayoutEditPolicy {

	protected Command getCreateCommand(CreateRequest request) {
		return EditPolicyUtils.createCopySubAreaCommand(request, getHost());
	}

	protected EditPolicy createChildEditPolicy(EditPart child) {
		return new TabSelectionEditPolicy();
	}

}
